// servers specific functions

function servers_addServer()
{
	document.getElementById('serversList').appendItem("TESTE","TE");
}

// NOTA: funcoes de teste!!!

function servers_getServers()
{
	var xmlrpcCall = makeXMLRpcCall('mail.listDomains', ['OpenQuest',0,-1]);
	var result;
	xmlrpcCall.sendRequest(SERVER_URL, getServers_response);
}

function getServers_response(response)
{
	var data = parseResult(response);
	for (var i=0; i<data.length; i++)
		document.getElementById('serversList').appendItem(data[i]);
}
